<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">


</head>
<body>
  <div id="app">
    <el-button @click="dialogVisible = true">点击打开 Dialog</el-button>

    <el-dialog
      title="提示"
      :visible.sync="dialogVisible"
      width="30%">
      <span>这是一段信息</span>

      <p>测试文字11111</p>
      <p>测试文字11111</p>
      <p>测试文字11111</p>
      <p>测试文字11111</p>
      <p>测试文字11111</p>
      <p>测试文字11111</p>
      <span slot="footer" class="dialog-footer">
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</body>
  <!-- import Vue before Element -->
  <script src="https://unpkg.com/vue/dist/vue.js"></script>
  <!-- import JavaScript -->
  <script src="https://unpkg.com/element-ui/lib/index.js"></script>
  <script>
    new Vue({
      el: '#app',
      data: function() {
        return {
          dialogVisible: false
        }
      },
    })
  </script>
</html>

<style>
    .el-table {
        color: #333;
        font-size: 12px;
    }

    .el-table tr:hover{
      background-color: #F1F2F7;
    }

    .el-table td { 
        border-bottom: 1px solid #EBEEF3;
        padding-top: 10px; 
        padding-bottom: 10px; 
        line-height: 1.4;
    }

    .el-table tr th {
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: #ebedf2;

        font-weight: normal;
    }

</style>